Ext.define('App.view.goods.GoodsListWindow', {
	extend : 'App.config.BaseWindow',
	requires : [ 'App.view.goods.GoodsAllList','App.controller.goods.GoodsWindowController','App.lib.GoodsTypeSingleSelect','App.lib.HtmlEditorExtension','App.lib.UploadMultiSelect'],

	controller : 'goodsWindowController',
	xtype : 'goodsListWindow',
	id : 'goodsListWindow',
	buttons : [ {
		text : '保存',
		action : 'save'
	}, {
		text : '关闭',
		handler : function() {
			this.up('window').close();
		}
	} ],
	items : [ {
		xtype : 'basewindowform',
		items : [{
			xtype:'hidden',
			name:'id'
		},{
			allowBlank : false,
			beforeLabelTextTpl : [ '<font color=red data-qtip=必填选项>*</font>' ],
			fieldLabel : '商品类型',
			xtype : 'goodsTypeSingleSelect'
		},{
		    title:"商品",
		    xtype:"goodsAllList"
        }]
	} ]
});